<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/lottery_view_header_credit}

	<div class="ui-main-box fleft w100">
		<div class="ui-tab-ball-box clear">
			<ul class="fleft w100" data-bind="foreach:navList">
				<li class="fleft" data-bind="css:($parent.currentNavId()).id===id?'curr':''"><a href="javascript:;" data-bind="text:name,click:$parent.navClick"></a></li>
			</ul>
		</div>
		<div class="ui-left-box fleft" id="mainBox">
			<div class="ui-shortcut-box clear">
				<div class="fleft" style="height:35px;">
					<div class="buyBonus" id="SLIPPER">
						<div class="BonusPercen" data-bind="text:utils.toFixed(kickback(),1)+'%'">8</div>
						<a href="javascript:;" class="minus" data-bind="click:plus"></a>
						<div class="ranger">
							<div class="ui-widget">
								<span class="ui-handle" style="left: 0;"></span>
							</div>
						</div>
						<a href="javascript:;" class="plus" data-bind="click:minus"></a>
					</div>
				</div>
				<div class="fright">
					<a href="javascript:;" title="一般" class="fleft ui-general-btn" data-bind="click:$root.generalClick,css:$root.selectType()?'yes':''">一般</a>
					<a href="javascript:;" title="快捷" class="fleft ui-short-btn" data-bind="click:$root.fastQuick,css:$root.selectType()?'':'yes'">快捷</a>
					<a href="javascript:;" title="快选金额" class="fleft ui-fast-select-btn" data-bind="click:$root.customSelectAmountEvent">快选金额</a>
					
				</div>
			</div>
			<div id="game-box" class="clear ui-content-box pr game-{$data['id']} game-{$data['ptid']}" data-bind="component:$root.fastRender"></div>
			
			<div class="waybill-wrap" data-bind="visible:!waybillHide()">
				<div class="clear waybill-tab waybill-tab-{$data['id']}">
					<dl data-bind="foreach:waybillSub2">
						<dt data-bind="if:$index()===0,visible:$index()===0">
							<select data-bind="options:$parent.waybillSub1,optionsText:'name',value:$parent.waybillSelect1"></select>
						</dt>
						<dd><a href="javascript:;" data-bind="text:name,click:$parent.waybillChecked.bind($data,$index()),css:$parent.waybillSelect2()===(type+$data.site)?'active':''">&nbsp;</a></dd>
					</dl>
				</div>
				<div class="waybill-main">
					<div class="w-item clear" id="WAYBILL-BODY"></div>
				</div>
			</div>
		</div>
		<div class="ui-right-box fright pr">
			<div class="ui-shadow-box fleft">
				<a href="javascript:;" class="select out-btn" data-bind="click:omissionAndoutCode" data-id="out">出码排行</a>
				<a href="javascript:;" class="omi-btn" data-bind="click:omissionAndoutCode" data-id="omi">遗漏排行</a>
			</div>
			<div class="ui-out-omission-con-box">
				<div class="fl w100">
					<label class="db fl ui-min-tit-box tc" id="label_tab">次数：</label>
					<div class="db fl tc pr ui-omi-select-box">
						<label class="db ui-show-select-box" data-oid="showOmiOut" data-bind="click:selectOption,attr:{'data-id':$root.showOmiOut().partialName},text:$root.showOmiOut().name">--</label>
						<ul class="pa ui-slide-box" id="slide_con" style="display:none;" data-bind="foreach:omiAndOutList">
							<li data-bind="click:$parent.dropDownLIClick.bind($parent,$data),attr:{'data-oid':partialName},text:name"></li>
						</ul>
					</div>
				</div>
				<ul class="ui-wer-box fl w100" style="color:red;" data-bind="css:(rankData().length === 0)?'':'dn'">
					<li class="tc" style="height:50px;line-height:50px;">暂无排名数据</li>
				</ul>
				<ul class="ui-wer-box fl w100" data-bind="foreach:rankData,css:(rankData().length === 0)?'dn':''">
					<li><label class="db ui-one-box" data-bind="html:name"></label><label class="db ui-two-box" data-bind="text:Count+'期'"></label></li>
				</ul>
			</div>
		</div>
	</div>

{template index/lottery_view_footer_credit}